package com.ymh.spring.learn.aop.config;

import org.springframework.context.annotation.Bean;

import com.ymh.spring.learn.aop.aspect.Audience;

//@Configuration
//@EnableAspectJAutoProxy //启用AspectJ自动代理
//@ComponentScan(basePackages="com.ymh.spring.learn.aop")
public class AopConfig {
	
	/**
	 * 
	 * <h4>功能：声明Audience bean</h4>
	 * @return
	 */
	@Bean
	public Audience audience(){
		return new Audience();
	}

}
